package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.SysWorkLogDao;
import io.renren.entity.SysWorkLogEntity;
import io.renren.service.SysWorkLogService;



@Service("sysWorkLogService")
public class SysWorkLogServiceImpl implements SysWorkLogService {
	@Autowired
	private SysWorkLogDao sysWorkLogDao;
	
	@Override
	public SysWorkLogEntity queryObject(Long id){
		return sysWorkLogDao.queryObject(id);
	}
	
	@Override
	public List<SysWorkLogEntity> queryList(Map<String, Object> map){
		return sysWorkLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return sysWorkLogDao.queryTotal(map);
	}
	
	@Override
	public void save(SysWorkLogEntity sysWorkLog){
		sysWorkLogDao.save(sysWorkLog);
	}
	
	@Override
	public void update(SysWorkLogEntity sysWorkLog){
		sysWorkLogDao.update(sysWorkLog);
	}
	
	@Override
	public void delete(Long id){
		sysWorkLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		sysWorkLogDao.deleteBatch(ids);
	}
	
}
